﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FazaDemo.BL.InterfaceDomain;
using FazaDemo.QL.AbstractQueryModel;
using FazaDemo.QueryModel;

namespace FazaDemo.PL.Wpf
{
    class NavDataReceiver
    {

        private readonly IQueryRepository<int, NavigatorCondition> _repository;

        public NavDataReceiver()
        {
            _repository = new NavigatorRepository();
        }

        public NavigatorCondition Get(int ecq)
        {
            return _repository.Get(ecq);
        }

    }
}
